package com.xzbd.gef.palette;

public class MyPaletteDrawerItem {
	
	private String label;
	private String shortDesc;
	private Class<?> factoryClass;
	private String iconSmall;
	private String iconLarge;
	
	
	public MyPaletteDrawerItem(String label, String shortDesc, Class<?> factoryClass, String iconSmall,
			String iconLarge) {
		this.label = label;
		this.shortDesc = shortDesc;
		this.factoryClass = factoryClass;
		this.iconSmall = iconSmall;
		this.iconLarge = iconLarge;
	}
	
	
	public String getLabel() {
		return label;
	}
	public String getShortDesc() {
		return shortDesc;
	}
	public Class<?> getFactoryClass() {
		return factoryClass;
	}
	public String getIconSmall() {
		return iconSmall;
	}
	public String getIconLarge() {
		return iconLarge;
	}
	
	
	public static MyPaletteDrawerItem of(String label, String shortDesc, Class<?> factoryClass, String iconSmall,
			String iconLarge) {
		return new MyPaletteDrawerItem(label, shortDesc, factoryClass,iconSmall,iconLarge);
	}
}
